package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@SpringBootApplication
@EnableCircuitBreaker //开启 hystrix 的断路器
public class CacheStartApp {
    public static void main(String[] args) {
        SpringApplication.run(CacheStartApp.class, args);
    }
}
